From: Debian Rust Maintainers Date: Sat, 21 Mar 2026 13:30:15 +0000 (+0000) Subject: built-using X-Git-Tag: archive/raspbian/0.17.14-5+rpi1^2~6 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/%22mailto:kde%40ewsoftware.de//%22style.css/%22/%22http:/www.example.com/%22mailto:kde%40ewsoftware.de/%22style.css/%22?a=commitdiff_plain;h=7b6fdd5d77732790e1994ef48a209389506ef855;p=rust-ring.git built-using Gbp-Pq: Name built-using.patch --- diff --git a/build.rs b/build.rs index 9843ad8..fda7163 100644 --- a/build.rs +++ b/build.rs @@ -266,6 +266,9 @@ const APPLE_ABI: &[&str] = &["ios", "macos", "tvos", "visionos", "watchos"]; const WINDOWS: &str = "windows"; fn main() { + println!("dh-cargo:deb-built-using=ring_core_{}_{}_{}_=0={}", std::env::var("CARGO_PKG_VERSION_MAJOR").unwrap(), std::env::var("CARGO_PKG_VERSION_MINOR").unwrap(), std::env::var("CARGO_PKG_VERSION_PATCH").unwrap(), std::env::var("CARGO_MANIFEST_DIR").unwrap()); + println!("dh-cargo:deb-built-using=ring_core_{}_{}_{}__test=0={}", std::env::var("CARGO_PKG_VERSION_MAJOR").unwrap(), std::env::var("CARGO_PKG_VERSION_MINOR").unwrap(), std::env::var("CARGO_PKG_VERSION_PATCH").unwrap(), std::env::var("CARGO_MANIFEST_DIR").unwrap()); + // Avoid assuming the working directory is the same is the $CARGO_MANIFEST_DIR so that toolchains // which may assume other working directories can still build this code. let c_root_dir = PathBuf::from(